package com.pandy.disruptor.senior;

import com.lmax.disruptor.EventHandler;
import com.lmax.disruptor.WorkHandler;

/**
 * @description:
 * @author: panhong
 * @date: 2025/4/10
 */
public class Handler4 implements EventHandler<Goods> {

    @Override
    public void onEvent(Goods event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("消费者 Handler4： getPrice: " + event.getPrice());
    }
}
